package no.eirikb.bomberman.shared.clientcommand;

import no.eirikb.bomberman.shared.Game;
import no.eirikb.bomberman.shared.User;

/**
 *
 * @author eirikb
 */
public class KillUserEvent extends ClientEvent {

    private User user;

    public KillUserEvent(User user) {
        this.user = user;
    }

    @Override
    public void execute(Game game) {
        // evig feil
        System.out.println("LOLOL");
        game.removeUser(user);
    }

    @Override
    public void execute(User user) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
